<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<%@ taglib prefix="sb" uri="/struts-bootstrap-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<s:include value="/WEB-INF/content/common/header.jsp"></s:include>
</head>

<body class="bg">
	<div class="container">
		<s:include value="/WEB-INF/content/common/title-head.jsp"></s:include>
		<div class="content">
			<s:include value="/WEB-INF/content/common/tab.jsp"></s:include>

			<script>
				$("#homeTab").addClass("active");
			</script>

			<div id="body">
				<div class="row">
					<div class="col-lg-3 center">
						<div class="row">
							<img src="<s:url value='/img/irisUser.png' includeParams='none'/>" />
							<div class="col-lg-12">
								<h4>
									<s:a href="%{#irisUserUrl}">
										<s:text name="home.user.iris" />
										(<s:property value="irisUserCount" />)
									</s:a>									
								</h4>
							</div>
						</div>

					</div>
					<div class="col-lg-3 center">
						<div class="row">
							<img src="<s:url value='/img/userGroup.png' includeParams='none'/>" />
							<div class="col-lg-12">
								<h4>
									<s:a href="%{#irisUserGroupUrl}">
										<s:text name="home.user.group" />
										(<s:property value="userGroupCount" />)
									</s:a>
								</h4>
							</div>
						</div>

					</div>
					<div class="col-lg-3 center">
						<div class="row">
							<img src="<s:url value='/img/door.png' includeParams='none'/>" />
							<div class="col-lg-12">
								<h4>
									<s:a href="%{#doorUrl}">
										<s:text name="home.door" />
										(<s:property value="doorCount" />)
									</s:a>
								</h4>
							</div>
						</div>

					</div>
					<div class="col-lg-3 center">
						<div class="row">
							<img src="<s:url value='/img/systemUser.png' includeParams='none'/>" />
							<div class="col-lg-12">
								<h4>
									<s:a href="%{#systemUserUrl}">
										<s:text name="home.user.system" />
										(<s:property value="systemUserCount" />)
									</s:a>
								</h4>
								<span class="badge"><s:text name="user.last.login"/></span>
								<div><s:property value="lastLogin.name"/></div>		
								<div>
									<s:date  name="lastLogin.lastLogin"/>
								</div>						
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<s:include value="/WEB-INF/content/common/footer.jsp"></s:include>
	</div>
</body>
</html>